package com.yc.model;

public class Userinfo {
    private Integer userId;
    private String userAccount;

    private String userPass;

    private Integer role;

    private Integer locked;

    private String faceimg;
    
    private Roleinfo roleinfo;
    
    

    public Roleinfo getRoleinfo() {
		return roleinfo;
	}

	public void setRoleinfo(Roleinfo roleinfo) {
		this.roleinfo = roleinfo;
	}

	public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount == null ? null : userAccount.trim();
    }

    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass == null ? null : userPass.trim();
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Integer getLocked() {
        return locked;
    }

    public void setLocked(Integer locked) {
        this.locked = locked;
    }

    public String getFaceimg() {
        return faceimg;
    }

    public void setFaceimg(String faceimg) {
        this.faceimg = faceimg == null ? null : faceimg.trim();
    }

	@Override
	public String toString() {
		return "Userinfo [userId=" + userId + ", userAccount=" + userAccount + ", userPass=" + userPass + ", role="
				+ role + ", locked=" + locked + ", faceimg=" + faceimg + ", roleinfo=" + roleinfo + "]";
	}

}